package com.zqh.springframework;

import lombok.Data;

@Data
public class BeanDefinition {

    private Class<?> beanClass;
    private String scope="singleton";   // 默认是单例
    private boolean isLazy;
    private boolean isInterface;



    public boolean isSingleton() {
        return scope.equals("singleton");
    }
 }
